﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sunboxsoft.ASMS.Server.Domain.Entity
{
    /// <summary>
    /// 结算单中的工作项
    /// </summary>
    public class ESettlementBillServiceItem 
    {
        public Guid Id { get; set; }

        /// <summary>
        /// 结算单Id
        /// </summary>
        public Guid SettlementBillId { get; set; }

        /// <summary>
        /// 维修单中服务项目的Id
        /// </summary>
        public Guid MaintenanceBillServiceItemId { get; set; }

        /// <summary>
        /// 工作项Id
        /// </summary>
        public Guid ServiceItemId{ get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 折扣
        /// </summary>
        public decimal Discount { get; set; }

        /// <summary>
        /// 工时
        /// </summary>
        public decimal Hour { get; set; }

        /// <summary>
        /// 实际金额
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        /// 原始金额
        /// </summary>
        public decimal OrigAmount { get; set; }

        /// <summary>
        /// 打折打掉的金额
        /// </summary>
        public decimal DisAmount { get; set; }

        /// <summary>
        /// 扣税的金额
        /// </summary>
        public decimal TaxAmount { get; set; }

        /// <summary>
        /// 技师提成金额
        /// </summary>
        public decimal TechCommAmount { get; set; }

        /// <summary>
        /// 销售提成金额
        /// </summary>
        public decimal SalesCommAmount { get; set; }

        /// <summary>
        /// 结算类型
        /// </summary>
        public int SettlementType { get; set; }
    }
}
